Messaging in Unity with Stact


概要

Unity上で動くメッセージングシステムが欲しい。


クライアント側で、型やインスタンスの存在をベースにした

Messagingを扱えると、楽だ。


Unityだと本来はSendMessageがあるが、あれはHierarchyに映るものにしか干渉できない。 そしてお世辞にも速くない。遅い。



オルタナティブ

Unityに組み込まれているのだと、こんな感じ

http://docs.unity3d.com/ja/current/Manual/MessagingSystem.html



というわけでMessaging in Unity

Stactを使ってやってみる。


Stact

https://github.com/phatboyg/Stact